#coding:utf-8

import time
import datetime

today = datetime.datetime.now()
year = today.year
month = today.month
day = today.day

yesteday = datetime.datetime(year, month, day)
tomorrow = datetime.datetime(year, month, day) + datetime.timedelta(days=1)

se = time.mktime(yesteday.timetuple())
print se
se = time.mktime(tomorrow.timetuple())
print se